/*
* TFGameMove.h
*
* This tracks movement. It contains two positions, 
* one being the starting position and the other being the destination.
* 
* Author: Rapid Dojo
* Date: Oct 19, 2007
*/

#ifndef TFGAMEMOVE_H
#define TFGAMEMOVE_H

class TFGameMove
{
public:

	TFGameMove() {}
	TFGameMove(int x1,			//(x1,y1) = Starting position.
			   int y1,			//(x2,y2) = New position.
			   int x2,
			   int y2);
	~TFGameMove();

	TFGameMove operator=(TFGameMove ob);
	int GetX1() { return _x1; }
	int GetY1() { return _y1; }
	int GetX2() { return _x2; }
	int GetY2() { return _y2; }
	void SetX1(int x) { _x1 = x;}
	void SetY1(int y) { _y1 = y;}
	void SetX2(int x) { _x2 = x;}
	void SetY2(int y) { _y2 = y;}

	int _x1;			//(x1,y1) = Starting position.
	int _y1;			//(x2,y2) = New position.
	int _x2;
	int _y2;
};

#endif
